import {request} from 'umi';
import {serverUrl} from '@/utils/utils';
export function login(data:{userName:string,password:string}) {
    return request(`${serverUrl}/api/v1/auth/manager_login`,{
        data,
        method:'post',
    })
}